CES Help Document > Discord Bots > Discord Website Status Bot
Discord Website Status Bot
CES Discord Website Status Bot
What It Does
- The CES Discord Website Status Bot is designed to monitor your website and display its current status directly in your Discord server using live channel names to keep your community informed.
Key Features
- π Real-Time Website Checks
Checks your websiteβs availability at set intervals.
- π Channel Name Status Updates
Automatically updates a specified voice/text channel with UP or DOWN indicators.
- βοΈ Custom Intervals
Choose how often the bot checks your site (default: 60 seconds).
- π Supports Multiple URLs
Monitor multiple websites, each with its own channel.
Installation & Setup
- Requirements
- Make sure you have:
- Node.js installed
- A VPS or host where the bot can run 24/7
2. Install Dependencies
npm install discord.js dotenv
3. Configure Environment
- Open .env file in the root folder and add yout info
BOT_TOKEN=your-bot-token-here CHANNEL_ID=your_discord_channel_id_here
4. Edit your bot.js
In your bot.js file, find the urls array and add the websites you want to monitor:
const urls = [ { name: "Crazy Eyes Studio", url: "https://crazyeyestudio.com" }, { name: "FiveM Store", url: "https://fivem.crazyeyestudio.com" }, { name: "Docs", url: "https://dochelp.crazyeyestudio.com" } ];
Each entry must have:
- name: What will show in the channel
- url: The full web link to check
Example Output
If the site is up:
π’ Crazy Eyes Studio is Online
If the site is down:
π΄ Crazy Eyes Studio is Down
Required Permissions
Step 1: Invite the Bot to Your Server
- Generate a bot invite link with the following OAuth2 scopes:
- bot
- applications.commands
- Required Bot Permissions:
β Manage Channels β so it can rename a channel to reflect website status
β Send Messages β for logging status checks or errors
β Read Message History β in case logging or replies are added later
β Do not give Administrator unless necessary for your setup
Troubleshooting
- Bot Not Updating the Channel?
- Make sure your bot is online
- Confirm it has "Manage Channels" permission
- Double-check that CHANNEL_ID is correct
- π« Bot always says site is down?
- The site may block bots or be unreachable
- Try switching between http:// and https://
- Test using https://example.com or https://google.com
π€ Need Help?
Check this page first. Still need help?
Review this page